/**
* @Author: Rain
* @Date: 2022/01/19 14:41:24
* @LastEditTime: 2023/10/13 11:06:26
* @Description: Do Something
 */
import request from '@/utils/request'

export function add(data) {
  return request({
    url: 'api/examInfo',
    method: 'post',
    data
  })
}

export function del(ids) {
  return request({
    url: 'api/examInfo/',
    method: 'delete',
    data: ids
  })
}

export function edit(data) {
  return request({
    url: 'api/examInfo',
    method: 'put',
    data
  })
}

export function get(data) {
  return request({
    url: 'api/examInfo',
    method: 'GET',
    data
  })
}

export default { add, edit, del, get }
